<extend name="Layout/index" />
<block name="breadcrumb-01">
	<li>
		<i class="icon-home home-icon"></i>
		<a href="#">首页</a>
	</li>
	<li class="active">订单管理</li>
</block>

<block name="breadcrumb-02">
	<h1>
		订单管理
		<small>
			<i class="icon-double-angle-right"></i>
			 订单修改
		</small>
	</h1>
</block>
<block name="main">

	
	<div class="row">
		<div class="col-xs-12">
			<!-- PAGE CONTENT BEGINS -->

			<div class="row">
				<div class="col-xs-12">
					<div class="table-responsive">
						<form action="<{:U('orderUpdate')}>" method="post" enctype="multipart/form-data">
						<table id="sample-table-1" class="table table-striped table-bordered table-hover">
							<tbody>
								<tr>
									<td style="text-align:right;">订单编号：</td>
									<td><input type="text" name="id" style="width:70%;" value="<{$list.id}>" disabled></td>
								</tr>
								<tr>
									<td style="text-align:right;">订购人：</td>
									<td><input type="text" style="width:70%;" name="nickname" value="<{$list.nickname}>" disabled></td>
								</tr>
								<tr>
									<td style="text-align:right;">订购时间：</td>
									<td><input type="text" style="width:70%;" name="ordertime" value="<{$list.ordertime|date='Y-m-d H:i:s',###}>" disabled></td>
								</tr>
								<tr>
									<td style="text-align:right;">联系电话：</td>
									<td><input type="text" style="width:70%;" name="photo" value="<{$list.photo}>"></td>
								</tr>
								<tr>
									<td style="text-align:right;">订单状态</td>
									<td>
										<ul class="mws-form-list inline">
                                            <li><input type="radio" name="status" value="0" <{$list[0]['status'] ==0?'checked':''}> /> <label>等待发货</label></li>
                                            
                                            <li><input type="radio" name="status" value="3" <{$list[0]['status'] ==3?'checked':''}> /> <label>取消订单</label></li>
                                        </ul>
                                    </td>
								</tr>
								<tr>
									<td style="text-align:right;">收货地址：</td>
									<td><textarea rows="6" cols="30"  name="private"><{$list.private}></textarea></td>
								</tr>
								<tr>
									<td colspan="2" style="padding-left:220px;"><input class="btn no-border" type="submit" name="sub" value="修改"></td>
								</tr>
							</tbody>
						</table>
						<input type="hidden" name="id" value="<{$list.id}>">
						</form>
					</div><!-- /.table-responsive -->
				</div><!-- /span -->
			</div><!-- /row -->
		</div><!-- /.col -->
	</div><!-- /.row -->
</block>

